/**
 * elements:
 *      [
 *          x,y,               0
 *          wx,wy,wz           2
 *      ]
 */
export default class IncidentVertex {
    constructor() {
        this.elements=new Float64Array(5);
    }

    get x (){return this.elements[0];}
    get y (){return this.elements[1];}
    get wx (){return this.elements[2];}
    get wy (){return this.elements[3];}
    get wz (){return this.elements[4];}
    set x (n){this.elements[0]=n;}
    set y (n){this.elements[1]=n;}
    set wx (n){this.elements[2]=n;}
    set wy (n){this.elements[3]=n;}
    set wz (n){this.elements[4]=n;}

}